package org.lex.expression.ui;

import javax.swing.JFrame;
import javax.swing.SwingUtilities;

import org.lex.awt.Location;


public class Calculator implements Runnable {
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Calculator());
	}

	public void run() {
		JFrame frame = new JFrame();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setTitle("Calculator");
		frame.setSize(650, 500);
		frame.setContentPane(new CalculatorPane());
		Location.moveToScreenCenter(frame);
		frame.setVisible(true);
	}
}
